Skip to content

cleanup(viewer): drop "plans" from the memory/work-files names - #136

Merged
devsuitup merged 1 commit into
mainfrom
cleanup/remove-plans-panel
Aug 23, 2026
Merged

cleanup(viewer): drop "plans" from the memory/work-files names#136
devsuitup merged 1 commit into
mainfrom
cleanup/remove-plans-panel

Conversation

@JeanBaptisteRenard

@JeanBaptisteRenard JeanBaptisteRenard commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

The Plans tab itself was removed in #138. What was left over is the naming: the renderer file and the doc page were still called plans-* although they no longer serve any plan.

  • public/plans-memory-view.jspublic/memory-workfiles-view.js (content unchanged apart from the globals header)
  • docs/plans-memory-workfiles.mddocs/memory-workfiles.md (content identical)
  • references updated in index.html, app.js, jsonl-viewer.js, README.md, docs/README.md, .ai/contexts/*, eslint.config.js and the two DOM tests
  • comments that still described a Plans panel corrected in style.css, viewer-panel.js, viewer-toolbar.js

Also restores one test #138 dropped: the cross-tab routing assertion below the 3-character search threshold only existed in its "plans" variant, so removing the tab removed the coverage with it. Re-added against the memory tab — same code path.

No behaviour change. npm test: 672 tests, 665 pass, 0 fail, 7 pre-existing skips. eslint: 0 errors.

The .plans-empty CSS class is deliberately left alone: it is shared by the Stats, JSONL and Memory empty states, and renaming it is a separate change.

@JeanBaptisteRenard
JeanBaptisteRenard enabled auto-merge (squash) August 21, 2026 14:31
#138 already removed the Plans tab, its viewer panel, the
get-plans/read-plan/save-plan IPC handlers and the 'plan' FTS type. What
it left behind is the naming: public/plans-memory-view.js and
docs/plans-memory-workfiles.md still carried "plans" in their names, and
several comments and doc tables still listed a panel that no longer
exists.

Rename both files to memory-workfiles-view.js / memory-workfiles.md and
update every reference. Restore the cross-tab search test that #138
deleted along with its plans case, retargeted at the memory tab: it
covers the same sub-3-char routing branch, which was left untested.

Left untouched: the shared .plans-empty CSS class, reused by Memory,
Work Files, Stats and jsonl-viewer; the 'plan' permission mode; and the
'plan' subagent type colour.
@devsuitup
devsuitup force-pushed the cleanup/remove-plans-panel branch from ee1da1c to 8a85928 Compare August 23, 2026 20:29
@devsuitup devsuitup changed the title cleanup(viewer): remove the Plans panel cleanup(viewer): drop "plans" from the memory/work-files names Aug 23, 2026
@devsuitup
devsuitup merged commit a8f3ea1 into main Aug 23, 2026
7 checks passed
@devsuitup
devsuitup deleted the cleanup/remove-plans-panel branch August 23, 2026 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants